﻿/*body, html {*/
/*    padding: 0;*/
/*    margin: 0;*/
/*    font-family: "Microsoft YaHei";*/
/*    font-size: 12px;*/
/*    box-sizing: border-box;*/
/*    user-select: none;*/
/*    -ms-user-select: none;*/
/*    -webkit-user-select: none;*/
/*}*/

.calendar-content {
    height: 390px;
    width: 400px;
    border: 1px solid #57abff
}

.calendar-toolbar {
    padding: 6px 10px;
    height: 40px;
    /*line-height: 34px;*/
    border-bottom: 2px solid #808080;
}

.calendar-toolbar .fa {
    font-size: 17px;
}

/*btnc*/
.calendar-content .btnc {
    float: left;
    line-height: 17px;
    padding: 5px 10px;
    border: 1px solid #d4d0d0;
    border-radius: 4px;
}

.btnc:hover {
    background: #e6e6e6;
    border-color: #adadad;
    color: #333;
}

.btnc-group {
    float: left;
    display: inline;
    padding: 0 8px;
}

.btnc-group .fa {
    padding-left: 5px;
    font-size: 14px;
}

.btnc-group > .btnc {
    position: relative;
    float: left;
}

.btnc-group > .btnc:hover {
    z-index: 2;
}

.btnc-group .btnc + .btnc {
    margin-left: -1px;
}

.btnc-group > .btnc:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btnc-group > .btnc:last-child:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.month-prev,
.month-next {
    float: left;
    padding: 4px 6px 5px 6px;
    display: inline;
    border: 1px solid #d4d0d0;
    border-radius: 4px;
}


.calendar-toolbar-month {
    position: relative;
    display: inline;
}

.calendar-toolbar-year {
    display: inline;
}

.calendar-toolbar-leftbox {
    float: left;
    padding: 0 6px;
}

.calendar-toolbar-centerbox {
    position: relative;
    left: 100px;
}


.calendar-toolbar-rightbox {
    float: right;
    padding: 0 6px;
}

.totoday {
    text-align: center;
}
/*main*/
.calendar {
    padding: 8px 15px;
}

.calendar-header {
    height: 34px;
}

.calendar-daynumber {
    cursor: pointer;
    box-sizing: border-box;
    margin: 1px;
}

.calendar-daynumber.calendar-othermonth {
    color: #f1eded;
}

.calendar-daynumber.calendar-othermonth:hover {
    background: #95c7fa;
}

.today,
.calendar-month:hover
{
    color: #fff;
}

.calendar-daynumber:hover,
.calendar-daynumber.today {
    box-sizing: border-box;
    background: #2c92fb;
}

.calendar-daynumber.focus {
    box-sizing: border-box;
    background: #6db2f8;
}


.calendar td {
    text-align: center;
}

.solar, .lunar {
    box-sizing: border-box;
    height: 25px;
    line-height: 28px;
    display: block;
}

.lunar {
    margin-top: -3px;
}

.calendar-weekend {
    color: red;
}
/*dropdown-menu*/

ul.dropdown-month, .dropdown-month li,
ul.dropdown-year, .dropdown-year li {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.dropdown-month.open,
.dropdown-year.open {
    display: inline-block;
    margin-top: 1px;
    width: 100%;
}

.dropdown-month,
.dropdown-year {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    width: 50px;
    border: 1px solid #eee;
    box-shadow: 0px 6px 12px rgba(0,0,0,0.175);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175)
}

.dropdown-month .month-item,
.dropdown-year .year-item {
    line-height: 20px;
    padding: 3px 2px;
}

.month-item:hover,
.year-item:hover {
    background: #e1e3e9;
}

.year-item.active {
    background: #c6c7ca;
}
